package java3_16.Pet;

public class PetTest {
    public static void main(String[] args) {
        Dog dog = new Dog("旺财","狗","20KG");
        Cat cat = new Cat("Tom","猫","10KG");
        Parrot parrot = new Parrot("阿绿","鹦鹉","2KG");

        dog.introduce();
        dog.catchMouse();
        System.out.println("**************************");
        cat.introduce();
        cat.climbingTree();
        System.out.println("**************************");
        parrot.introduce();
        parrot.fly();
    }
}
